package com.chapter.sample.juc.locks;

public class LockByteCodeDemo {
    public static void main(String[] args) {

    }
//    Object object = new Object();
//
//    public void m1() {
//        synchronized (object) {
//            System.out.println("-----------hello sync");
//            throw new RuntimeException();
//        }
//    }

    public static synchronized void m2() {

    }
}
